| PIZZA | Current compiler version: 0.39d |
| A substantial companion to Java | |
| Frequently Asked Questions (with Answers)
Installation and Troubleshooting | |
|
Contents
Home Mirrors FAQ index |
| The pizza compiler doesn't run. Help! |
First, make sure that Java runs. Try both
javacand
java <a Java program>If Java doesn't work, check your Java installation or the installation guide provided by Sun.
If Java does run then there are two common problem sources. Make sure your CLASSPATH includes the Pizza classes, as a couple of questions below (one and another one) address. The second common problem is the setup of the pc command.
alias pc java -ms8m pizza.compiler.Main
java -ms8m pizza.compiler.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
When I try to
run Pizza I get:
Can't find class pizza/compiler/Main |
`X'/pizza/compiler/Main.classexists. Make sure that this is the case. Also make sure that the directory name `X' does not contain any parts such as "~" that need to be expamded by a shell - this often leads to unexpected results.
I
can compile a class, but when I try to run it I get> java mypackage.MyClass can't find mypackage.MyClass |
setenv CLASSPATH $HOME/classes:$HOME/pizza/classes alias pc java -ms8m pizza.compiler.Main -d ~/classes
set CLASSPATH=c:\classes;c:\pizza\classesand in pc.bat:
java -ms8m pizza.compiler.Main -d c:\classes %1 %2 %3 %4 %5 %6 %7 %8 %9
| How
can I install Pizza on OS/2,the Macintosh OS, Windows 3.11, etc.? |
Having said that, we would welcome an installation guides or
suggestions for any of platform we do not directly support. If you've
gotten Pizza to run on the Bizzarro Mark 23 (or even something with a
less interesting name!), and you'd be willing to write up and take
questions about an installation sheet, please get in touch with us.